﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Dominio;
using System.Web.Compilation;


public partial class SportifMasterPage : System.Web.UI.MasterPage
{
   // private bool btnBusquedaAvanzadaPresionado = false;
   
   
    //protected DropDownList ddlCategorias;
    protected Label lblCatSelected;
    //private Indexador index;

    private AdministracionHandler adm = new FabricaConcreta().getAdministracionHandler();
    //public string Categoria { private set; get; }

    protected void Page_Load(object sender, EventArgs e)
    {
        foreach (BLCategoria cat in adm.getBLCategorias())
        {
            if (cat.CatEstado != 0)
            {
                ListItem li = new ListItem(cat.CatDescripcion, cat.CatId.ToString());
                //ddlCategorias.Items.Add(li);
                
            }
        }
    }
    protected void linkBtnBusquedaAvanzada_Click(object sender, EventArgs e)
    {
      // txtBusqueda
       
    }
    
   
}
